Skip to main content

mediaFoundationVideoProcessorGetOutputAvailableMediaType

Type

function

Summary

Get an output media type that the video processor supports Platform:desktop

Syntax

mediaFoundationVideoProcessorGetOutputAvailableMediaType(<pVideoProcessorID>, <pIndex>)

Description

The video processor supports a number of input and output media types. To setup the pipeline for transcoding we must find an a reader output media type that is supported by the video processor as an input media type and a writer input media type that is supported by the video processor as an output media type.

You may keep requesting media types from this API until 0 is returned instead of a media type ID.

*Note

*:See the mediaFoundationTranscode documentation for a complete example of using this handler.

Parameters

NameTypeDescription

pVideoProcessorID

integer

A video processor ID

pIndex

integer

An index of the available media types

command: mediaFoundationTranscode, mediaFoundationCreateVideoProcessor

Compatibility and Support

OS

windows

Thank you for your feedback!

Was this page helpful?